#include "engine/Application.h"
#include "engine/Window.h"
#include "gui/MainMenuGui.h"


#ifdef __APPLE__
	#include "CoreFoundation/CoreFoundation.h"
   
#endif

using namespace std;

bool FileExists(string strFilename);
int main(int argc, char *argv[])
{
   PF::Application kApplication;
   if(!kApplication.Init("Party Family", SDL_WINDOWPOS_CENTERED, 
                         SDL_WINDOWPOS_CENTERED, 1024, 768, 
                         SDL_WINDOW_SHOWN | SDL_WINDOW_OPENGL))
   {
	   return 1;
   }

   PF::Window *pWindow = kApplication.GetWindow();
   MainMenuGui *pMainMenuGui = new MainMenuGui(pWindow->GetCanvas(), pWindow);

   kApplication.Run();
   return 0;
}
